package com.tjbank.cssys.repository;

import com.tjbank.cssys.domain.CkCreditOutCompanyData;

import java.util.List;
import java.util.Map;

public interface CkCreditOutCompanyDataMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkCreditOutCompanyData record);

    int insertSelective(CkCreditOutCompanyData record);

    CkCreditOutCompanyData selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkCreditOutCompanyData record);

    int updateByPrimaryKey(CkCreditOutCompanyData record);

    List<Map<String, Object>> getAllotCompanyData(Map<String, String> map);

    List<Map<String,Object>> getOurCompanyDataInformation(Map<String,String>map);

    void updataCompanyNameNull(Map<String,Object>map);

    void setCompanyName(Map<String,Object> map);

    List<Map<String,Object>> getOutCompanyDataIsNull(Map<String,String>map);

    void deleteOutCompanyDataByCompanyName(Map<String,String> map);

    List<CkCreditOutCompanyData> selectListByoutCompanyName(Map<String,String>map);

    void insertBatchOutCompanyDataLog (List<CkCreditOutCompanyData> list);

    Map<String,Object>getOutDataRelation(Map<String, String> batchNumber);
}